package com.google.wave.extensions.code.eval;

/**
 * {@code CodeEvaluatorFactory} creates {@link CodeEvaluator} instances.
 *
 * @author schwardo@google.com (Don Schwarz)
 */
public class CodeEvaluatorFactory {
    public static CodeEvaluator getEvaluator(String language) {
	return new CachingCodeEvaluator(new JavaxScriptCodeEvaluator(language));
    }
}
